package com.jlcloud.core.oauth2.exception;

/**
 * OAuth2ErrorMessage
 *
 * @author By: JlCloud <br>
 * @Package: com.jlcloud <br>
 * @CreateTime: 2024-12-03 21:45 <br>
 * @Copyright: 2021 www.jilianjituan.com Inc. All rights reserved. <br>
 * @Caution 注意：本内容仅限于冀联人力集团内部传阅，禁止外泄以及用于其他的商业目的 <br>
 */
public interface OAuth2ErrorMessage {
	String INVALID_GRANT_TYPE = "无效的授权类型: %s";

	String CLIENT_AUTHORIZATION_FAILED = "客户端认证失败, 请检查请求头 [Authorization] 信息";

	String CLIENT_TOKEN_PARSE_FAILED = "客户端令牌解析失败";

	String INVALID_CLIENT_TOKEN = "客户端令牌不合法";

	String AUTHORIZATION_NOT_FOUND = "请求头中未找到 [Authorization] 信息";
	String INVALID_ERROR_CODE = "无效的错误代码: %s";
	String USER_HAS_NO_TENANT = "未获得用户的租户信息";
	String USER_HAS_NO_TENANT_PERMISSION = "租户授权已过期,请联系管理员";
	String USER_HAS_TOO_MANY_FAILS = "登录错误次数过多,请稍后再试";
}
